package com.taotao.enums.apt.anno;


import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <p>
 *
 * </p>
 *
 * @author fanbeibei
 * @version 1.0.0
 * @date 2024/6/5 12:49
 */
@Documented
@Retention(RetentionPolicy.SOURCE)
@Target({ElementType.TYPE})
public @interface BaseEnumType {
    String enumId() default "";

    int enumVersion() default 0;

    /**
     * code 的泛型
     *
     * @return
     */
    Class<?> codeType() default String.class;


    /**
     * 枚举项定义代码, 例如 new String[]{"football("football", "足球"),","basketball("basketball", "篮球"),"}
     *
     * @return
     */
    String[] enumElemntDefineCode();



}
